﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.Tasks.Queue.RabbitMQ.Modules
{

    /// <summary>
    /// 
    /// </summary>
    public interface IEventHandlerModuleFactory
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="module"></param>
        void TryAddMoudle(IModuleHandle module);
        /// <summary>
        /// 
        /// </summary>
        void PubliushEvent(EventBusArgs e);
        /// <summary>
        /// 
        /// </summary>
        void SubscribeEvent(EventBusArgs e);
    }
}
